package com.fengplus.demo.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AppUser implements Serializable {

    private Long id;

    private String username;

    private String password;

    private String name;

    private String avatar;

    private String mobile;

    private String email;

    private Integer status;

    @JsonProperty("login_at")
    private Date loginAt;

    @JsonProperty("register_at")
    private Date registerAt;

}